import json
import os
from handle.handle_path import CASE_FOR_JSON_DIR


def handle_json(filename):
    file = os.path.join(CASE_FOR_JSON_DIR, filename).replace("\\","/")
    with open(file, 'r', encoding='utf-8') as f:
        data = json.load(f)
        return data


if __name__ == '__main__':
    li = os.listdir(CASE_FOR_JSON_DIR)
    for filename in li:
        #print(filename)
        print(handle_json(filename))